<!doctype html>
<html>
<head>
    <title>Scalar在线接口调试</title>
    <meta charset="utf-8" />
    <meta
            name="viewport"
            content="width=device-width, initial-scale=1" />
</head>

<body>
<div id="app"></div>

<!-- Load the Script -->
<script src="./api-reference/standalone.js"></script>

<!-- Initialize the Scalar API Reference -->
<script>
    Scalar.createApiReference('#app', {
        // The URL of the OpenAPI/Swagger document,对应配置中的openapi->scalar->spec_json_url
        url: '/scalar/openapi.json',
        // Avoid CORS issues
        // proxyUrl: 'https://proxy.scalar.com',
    })
</script></body>
</html>